home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 1
/
CD Fun House (Wayzata Technology).iso
/
HyperCard 2.0
/
HyperCard
/
HyperCard.rsrc
/
CODE_32_Translate.txt
< prev
next >
Wrap
Text File
|
1990-08-31
|
23KB
|
377 lines
# near model CODE resource
# jump table entries: 6704-6706 (3 of them)
fn00000000:
00000000 4E56 FF00 link A6, -0x0100
00000004 206E 000C movea.l A0, [A6 + 0xC]
00000008 4210 clr.b [A0]
0000000A 206E 0008 movea.l A0, [A6 + 0x8]
0000000E 4868 0008 pea.l [A0 + 0x8]
00000012 486E FF00 pea.l [A6 - 0x100]
00000016 1F3C 0001 move.b -[A7], 0x1
0000001A 4EAD 1DD2 jsr [A5 + 0x1DD2 /* export_950 */]
0000001E 4240 clr.w D0
00000020 102E FF00 move.b D0, [A6 - 0x100]
00000024 721F moveq.l D1, 0x1F
00000026 B240 cmp.w D1, D0
00000028 6C02 bge +0x4 /* 0000002C */
0000002A 6018 bra +0x1A /* 00000044 */
label0000002C:
0000002C 486E FF00 pea.l [A6 - 0x100]
00000030 2F2E 000C move.l -[A7], [A6 + 0xC]
00000034 4240 clr.w D0
00000036 102E FF00 move.b D0, [A6 - 0x100]
0000003A 5240 addq.w D0, 1
0000003C 48C0 ext.l D0
0000003E 2F00 move.l -[A7], D0
00000040 4EAD 238A jsr [A5 + 0x238A /* export_1133 */]
label00000044:
00000044 4E5E unlink A6
00000046 205F movea.l A0, [A7]+
00000048 504F addq.w A7, 8
0000004A 4ED0 jmp [A0]
export_838:
fn0000004C:
0000004C 4E56 0000 link A6, 0
00000050 486D EC2E pea.l [A5 - 0x13D2]
00000054 2F0E move.l -[A7], A6
00000056 4EBA FFA8 jsr [PC - 0x58 /* 00000000 */]
0000005A 486D ED54 pea.l [A5 - 0x12AC]
0000005E 2F0E move.l -[A7], A6
00000060 4EBA FF9E jsr [PC - 0x62 /* 00000000 */]
00000064 486D EE74 pea.l [A5 - 0x118C]
00000068 2F0E move.l -[A7], A6
0000006A 4EBA FF94 jsr [PC - 0x6C /* 00000000 */]
0000006E 486D ED34 pea.l [A5 - 0x12CC]
00000072 2F0E move.l -[A7], A6
00000074 4EBA FF8A jsr [PC - 0x76 /* 00000000 */]
00000078 486D EC0E pea.l [A5 - 0x13F2]
0000007C 2F0E move.l -[A7], A6
0000007E 4EBA FF80 jsr [PC - 0x80 /* 00000000 */]
00000082 486D EBEE pea.l [A5 - 0x1412]
00000086 2F0E move.l -[A7], A6
00000088 4EBA FF76 jsr [PC - 0x8A /* 00000000 */]
0000008C 486D ECAE pea.l [A5 - 0x1352]
00000090 2F0E move.l -[A7], A6
00000092 4EBA FF6C jsr [PC - 0x94 /* 00000000 */]
00000096 486D EC8E pea.l [A5 - 0x1372]
0000009A 2F0E move.l -[A7], A6
0000009C 4EBA FF62 jsr [PC - 0x9E /* 00000000 */]
000000A0 486D ECCE pea.l [A5 - 0x1332]
000000A4 2F0E move.l -[A7], A6
000000A6 4EBA FF58 jsr [PC - 0xA8 /* 00000000 */]
000000AA 486D EC4E pea.l [A5 - 0x13B2]
000000AE 2F0E move.l -[A7], A6
000000B0 4EBA FF4E jsr [PC - 0xB2 /* 00000000 */]
000000B4 486D ECEE pea.l [A5 - 0x1312]
000000B8 2F0E move.l -[A7], A6
000000BA 4EBA FF44 jsr [PC - 0xBC /* 00000000 */]
000000BE 486D EC6E pea.l [A5 - 0x1392]
000000C2 2F0E move.l -[A7], A6
000000C4 4EBA FF3A jsr [PC - 0xC6 /* 00000000 */]
000000C8 486D ED12 pea.l [A5 - 0x12EE]
000000CC 2F0E move.l -[A7], A6
000000CE 4EBA FF30 jsr [PC - 0xD0 /* 00000000 */]
000000D2 4E5E unlink A6
000000D4 2E9F move.l [A7], [A7]+
000000D6 4E75 rts
fn000000D8:
000000D8 4E56 0000 link A6, 0
000000DC 7000 moveq.l D0, 0x00
000000DE 2B40 EF5C move.l [A5 - 0x10A4], D0
000000E2 4AAD EF58 tst.l [A5 - 0x10A8]
000000E6 6708 beq +0xA /* 000000F0 */
000000E8 2F2D EF58 move.l -[A7], [A5 - 0x10A8]
000000EC 4EAD 10DA jsr [A5 + 0x10DA /* export_535 */]
label000000F0:
000000F0 7000 moveq.l D0, 0x00
000000F2 2B40 EF58 move.l [A5 - 0x10A8], D0
000000F6 41ED D040 lea.l A0, [A5 - 0x2FC0]
000000FA 43FA 0026 lea.l A1, [PC + 0x26 /* 00000122, value 0x7456E67, pstring "English" */]
000000FE 20D9 move.l [A0]+, [A1]+
00000100 20D9 move.l [A0]+, [A1]+
00000102 42A7 clr.l -[A7]
00000104 486D ED74 pea.l [A5 - 0x128C]
00000108 4EAD 255A jsr [A5 + 0x255A /* export_1191 */]
0000010C 4EBA FF3E jsr [PC - 0xC2 /* 0000004C */]
00000110 486D D166 pea.l [A5 - 0x2E9A]
00000114 7056 moveq.l D0, 0x56
00000116 2F00 move.l -[A7], D0
00000118 4EAD 254A jsr [A5 + 0x254A /* export_1189 */]
0000011C 4E5E unlink A6
0000011E 2E9F move.l [A7], [A7]+
00000120 4E75 rts
00000122 0745 bchg D5, D3
00000124 6E67 bgt +0x69 /* 0000018D */
00000126 6C69 bge +0x6B /* 00000191 */
00000128 7368 moveq.l D1, 0x68
fn0000012A:
0000012A 4E56 FF00 link A6, -0x0100
0000012E 206E 000C movea.l A0, [A6 + 0xC]
00000132 43EE FF00 lea.l A1, [A6 - 0x100]
00000136 703F moveq.l D0, 0x3F
label00000138:
00000138 22D8 move.l [A1]+, [A0]+
0000013A 51C8 FFFC dbf D0, -0x6 /* 00000138 */
0000013E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000142 4EBA FF94 jsr [PC - 0x6C /* 000000D8 */]
00000146 486E FF00 pea.l [A6 - 0x100]
0000014A 4EAD 09AA jsr [A5 + 0x9AA /* export_305 */]
0000014E 206E 0008 movea.l A0, [A6 + 0x8]
00000152 2C48 movea.l A6, A0
00000154 4EFA 01B4 jmp [PC + 0x1B4 /* 0000030A */]
00000158 0000 4E5E ori.b D0, 0x5E /* '^' */
0000015C 205F movea.l A0, [A7]+
0000015E 504F addq.w A7, 8
00000160 4ED0 jmp [A0]
export_839:
00000162 4E56 FEFA link A6, -0x0106
00000166 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
0000016A 4267 clr.w -[A7]
0000016C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000170 486D D040 pea.l [A5 - 0x2FC0]
00000174 4EAD 24A2 jsr [A5 + 0x24A2 /* export_1168 */]
00000178 101F move.b D0, [A7]+
0000017A 6704 beq +0x6 /* 00000180 */
0000017C 6000 018C bra +0x18E /* 0000030A */
label00000180:
00000180 4AAD EF5C tst.l [A5 - 0x10A4]
00000184 672E beq +0x30 /* 000001B4 */
00000186 3B7C 0001 D166 move.w [A5 - 0x2E9A], 0x1
0000018C 4EAD 1322 jsr [A5 + 0x1322 /* export_608 */]
00000190 2F2D EF5C move.l -[A7], [A5 - 0x10A4]
00000194 A9A3 syscall ReleaseResource
00000196 2F0E move.l -[A7], A6
00000198 4EBA FF3E jsr [PC - 0xC2 /* 000000D8 */]
0000019C 4A6D D168 tst.w [A5 - 0x2E98]
000001A0 6712 beq +0x14 /* 000001B4 */
000001A2 486E FEFA pea.l [A6 - 0x106]
000001A6 3F3C 003E move.w -[A7], 0x3E /* '>' */
000001AA 4EAD 09F2 jsr [A5 + 0x9F2 /* export_314 */]
000001AE 2F0E move.l -[A7], A6
000001B0 4EBA FF78 jsr [PC - 0x88 /* 0000012A */]
label000001B4:
000001B4 4267 clr.w -[A7]
000001B6 2F2E 0008 move.l -[A7], [A6 + 0x8]
000001BA 487A 0160 pea.l [PC + 0x160 /* 0000031C, value 0x7456E67, pstring "English" */]
000001BE 4EAD 24A2 jsr [A5 + 0x24A2 /* export_1168 */]
000001C2 101F move.b D0, [A7]+
000001C4 6704 beq +0x6 /* 000001CA */
000001C6 6000 0142 bra +0x144 /* 0000030A */
label000001CA:
000001CA 42A7 clr.l -[A7]
000001CC 2F3A 014A move.l -[A7], [PC + 0x14A /* 00000318, value 0x5754524E 'WTRN' */]
000001D0 2F2E 0008 move.l -[A7], [A6 + 0x8]
000001D4 A9A1 syscall GetNamedResource
000001D6 2B5F EF5C move.l [A5 - 0x10A4], [A7]+
000001DA 57C0 seq D0
000001DC 2F00 move.l -[A7], D0
000001DE 4267 clr.w -[A7]
000001E0 A9AF syscall ResError
000001E2 321F move.w D1, [A7]+
000001E4 201F move.l D0, [A7]+
000001E6 4A41 tst.w D1
000001E8 56C1 sne D1
000001EA 8001 or.b D0, D1
000001EC 6712 beq +0x14 /* 00000200 */
000001EE 486E FEFA pea.l [A6 - 0x106]
000001F2 3F3C 003D move.w -[A7], 0x3D /* '=' */
000001F6 4EAD 09F2 jsr [A5 + 0x9F2 /* export_314 */]
000001FA 2F0E move.l -[A7], A6
000001FC 4EBA FF2C jsr [PC - 0xD4 /* 0000012A */]
label00000200:
00000200 2F2D EF5C move.l -[A7], [A5 - 0x10A4]
00000204 A9A2 syscall LoadResource
00000206 4267 clr.w -[A7]
00000208 A9AF syscall ResError
0000020A 4A5F tst.w [A7]+
0000020C 6712 beq +0x14 /* 00000220 */
0000020E 486E FEFA pea.l [A6 - 0x106]
00000212 3F3C 003C move.w -[A7], 0x3C /* '<' */
00000216 4EAD 09F2 jsr [A5 + 0x9F2 /* export_314 */]
0000021A 2F0E move.l -[A7], A6
0000021C 4EBA FF0C jsr [PC - 0xF4 /* 0000012A */]
label00000220:
00000220 4267 clr.w -[A7]
00000222 2F2D EF5C move.l -[A7], [A5 - 0x10A4]
00000226 A9A4 syscall HomeResFile
00000228 3D5F FFFA move.w [A6 - 0x6], [A7]+
0000022C 302E FFFA move.w D0, [A6 - 0x6]
00000230 B06D A378 cmp.w D0, [A5 - 0x5C88]
00000234 6608 bne +0xA /* 0000023E */
00000236 7000 moveq.l D0, 0x00
00000238 2B40 EF58 move.l [A5 - 0x10A8], D0
0000023C 6036 bra +0x38 /* 00000274 */
label0000023E:
0000023E 42A7 clr.l -[A7]
00000240 3F2E FFFA move.w -[A7], [A6 - 0x6]
00000244 4EAD 111A jsr [A5 + 0x111A /* export_543 */]
00000248 2D5F FFFC move.l [A6 - 0x4], [A7]+
0000024C 6618 bne +0x1A /* 00000266 */
0000024E 2F2D EF5C move.l -[A7], [A5 - 0x10A4]
00000252 A9A3 syscall ReleaseResource
00000254 486E FEFA pea.l [A6 - 0x106]
00000258 3F3C 003C move.w -[A7], 0x3C /* '<' */
0000025C 4EAD 09F2 jsr [A5 + 0x9F2 /* export_314 */]
00000260 2F0E move.l -[A7], A6
00000262 4EBA FEC6 jsr [PC - 0x13A /* 0000012A */]
label00000266:
00000266 2B6E FFFC EF58 move.l [A5 - 0x10A8], [A6 - 0x4]
0000026C 2F2D EF58 move.l -[A7], [A5 - 0x10A8]
00000270 4EAD 10D2 jsr [A5 + 0x10D2 /* export_534 */]
label00000274:
00000274 2F2D EF5C move.l -[A7], [A5 - 0x10A4]
00000278 4EAD 0182 jsr [A5 + 0x182 /* export_44 */]
0000027C 206E 0008 movea.l A0, [A6 + 0x8]
00000280 43ED D040 lea.l A1, [A5 - 0x2FC0]
00000284 703F moveq.l D0, 0x3F
label00000286:
00000286 22D8 move.l [A1]+, [A0]+
00000288 51C8 FFFC dbf D0, -0x6 /* 00000286 */
0000028C 426D D166 clr.w [A5 - 0x2E9A]
00000290 4EAD 1322 jsr [A5 + 0x1322 /* export_608 */]
00000294 4A6D D168 tst.w [A5 - 0x2E98]
00000298 6712 beq +0x14 /* 000002AC */
0000029A 486E FEFA pea.l [A6 - 0x106]
0000029E 3F3C 003B move.w -[A7], 0x3B /* ';' */
000002A2 4EAD 09F2 jsr [A5 + 0x9F2 /* export_314 */]
000002A6 2F0E move.l -[A7], A6
000002A8 4EBA FE80 jsr [PC - 0x180 /* 0000012A */]
label000002AC:
000002AC 3B7C 0003 D166 move.w [A5 - 0x2E9A], 0x3
000002B2 42A7 clr.l -[A7]
000002B4 486D ED74 pea.l [A5 - 0x128C]
000002B8 4EAD 1EBA jsr [A5 + 0x1EBA /* export_979 */]
000002BC 2B5F D16A move.l [A5 - 0x2E96], [A7]+
000002C0 42A7 clr.l -[A7]
000002C2 42A7 clr.l -[A7]
000002C4 4EAD 1E6A jsr [A5 + 0x1E6A /* export_969 */]
000002C8 2B5F D16E move.l [A5 - 0x2E92], [A7]+
000002CC 4EAD 1322 jsr [A5 + 0x1322 /* export_608 */]
000002D0 4A6D D168 tst.w [A5 - 0x2E98]
000002D4 6712 beq +0x14 /* 000002E8 */
000002D6 486E FEFA pea.l [A6 - 0x106]
000002DA 3F3C 003A move.w -[A7], 0x3A /* ':' */
000002DE 4EAD 09F2 jsr [A5 + 0x9F2 /* export_314 */]
000002E2 2F0E move.l -[A7], A6
000002E4 4EBA FE44 jsr [PC - 0x1BC /* 0000012A */]
label000002E8:
000002E8 2F2D D16E move.l -[A7], [A5 - 0x2E92]
000002EC 4EAD 016A jsr [A5 + 0x16A /* export_41 */]
000002F0 206D D16E movea.l A0, [A5 - 0x2E92]
000002F4 2F10 move.l -[A7], [A0]
000002F6 4EBA FD54 jsr [PC - 0x2AC /* 0000004C */]
000002FA 486D D16E pea.l [A5 - 0x2E92]
000002FE 4EAD 1E52 jsr [A5 + 0x1E52 /* export_966 */]
00000302 486D D16A pea.l [A5 - 0x2E96]
00000306 4EAD 1E52 jsr [A5 + 0x1E52 /* export_966 */]
label0000030A:
0000030A 4FEE FEDA lea.l A7, [A6 - 0x126]
0000030E 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
00000312 4E5E unlink A6
00000314 2E9F move.l [A7], [A7]+
00000316 4E75 rts
00000318 5754 subq.w [A4], 3
0000031A 524E addq.w A6, 1
0000031C 0745 bchg D5, D3
0000031E 6E67 bgt +0x69 /* 00000387 */
00000320 6C69 bge +0x6B /* 0000038B */
00000322 7368 moveq.l D1, 0x68
export_840:
00000324 4E56 FEF8 link A6, -0x0108
00000328 486E FF00 pea.l [A6 - 0x100]
0000032C 4EAD 0BF2 jsr [A5 + 0xBF2 /* export_378 */]
00000330 4267 clr.w -[A7]
00000332 486E FF00 pea.l [A6 - 0x100]
00000336 487A 0114 pea.l [PC + 0x114 /* 0000044C, value 0x868696E, pstring "hintBits" */]
0000033A 4EAD 24A2 jsr [A5 + 0x24A2 /* export_1168 */]
0000033E 101F move.b D0, [A7]+
00000340 6706 beq +0x8 /* 00000348 */
00000342 1B7C 0001 AD88 move.b [A5 - 0x5278], 0x1
label00000348:
00000348 4267 clr.w -[A7]
0000034A 486E FF00 pea.l [A6 - 0x100]
0000034E 487A 00F4 pea.l [PC + 0xF4 /* 00000444, value 0x66D6178, pstring "maxmem" */]
00000352 4EAD 24A2 jsr [A5 + 0x24A2 /* export_1168 */]
00000356 101F move.b D0, [A7]+
00000358 670E beq +0x10 /* 00000368 */
0000035A 42A7 clr.l -[A7]
0000035C 486E FEFC pea.l [A6 - 0x104]
00000360 4EAD 0102 jsr [A5 + 0x102 /* export_28 */]
00000364 2D5F FEF8 move.l [A6 - 0x108], [A7]+
label00000368:
00000368 4267 clr.w -[A7]
0000036A 486E FF00 pea.l [A6 - 0x100]
0000036E 487A 00C0 pea.l [PC + 0xC0 /* 00000430, value 0x12707572, pstring "pureQuickDraw true" */]
00000372 4EAD 24A2 jsr [A5 + 0x24A2 /* export_1168 */]
00000376 101F move.b D0, [A7]+
00000378 670A beq +0xC /* 00000384 */
0000037A 1B7C 0001 BD34 move.b [A5 - 0x42CC], 0x1
00000380 4EAD 28A2 jsr [A5 + 0x28A2 /* export_1296 */]
label00000384:
00000384 4267 clr.w -[A7]
00000386 486E FF00 pea.l [A6 - 0x100]
0000038A 487A 0090 pea.l [PC + 0x90 /* 0000041C, value 0x13707572, pstring "pureQuickDraw false" */]
0000038E 4EAD 24A2 jsr [A5 + 0x24A2 /* export_1168 */]
00000392 101F move.b D0, [A7]+
00000394 6708 beq +0xA /* 0000039E */
00000396 422D BD34 clr.b [A5 - 0x42CC]
0000039A 4EAD 28A2 jsr [A5 + 0x28A2 /* export_1296 */]
label0000039E:
0000039E 4267 clr.w -[A7]
000003A0 486E FF00 pea.l [A6 - 0x100]
000003A4 487A 006A pea.l [PC + 0x6A /* 00000410, value 0xA636865 '\nche', pstring "checkPoint" */]
000003A8 4EAD 24A2 jsr [A5 + 0x24A2 /* export_1168 */]
000003AC 101F move.b D0, [A7]+
000003AE 6706 beq +0x8 /* 000003B6 */
000003B0 1B7C 0001 EBEC move.b [A5 - 0x1414], 0x1
label000003B6:
000003B6 4267 clr.w -[A7]
000003B8 486E FF00 pea.l [A6 - 0x100]
000003BC 487A 0048 pea.l [PC + 0x48 /* 00000406, value 0x8736F75, pstring "sound on" */]
000003C0 4EAD 24A2 jsr [A5 + 0x24A2 /* export_1168 */]
000003C4 101F move.b D0, [A7]+
000003C6 670E beq +0x10 /* 000003D6 */
000003C8 102D E7AE move.b D0, [A5 - 0x1852]
000003CC 6708 beq +0xA /* 000003D6 */
000003CE 422D E7AE clr.b [A5 - 0x1852]
000003D2 4EAD 12C2 jsr [A5 + 0x12C2 /* export_596 */]
label000003D6:
000003D6 4267 clr.w -[A7]
000003D8 486E FF00 pea.l [A6 - 0x100]
000003DC 487A 001E pea.l [PC + 0x1E /* 000003FC, value 0x9736F75 '\tsou', pstring "sound off" */]
000003E0 4EAD 24A2 jsr [A5 + 0x24A2 /* export_1168 */]
000003E4 101F move.b D0, [A7]+
000003E6 6710 beq +0x12 /* 000003F8 */
000003E8 102D E7AE move.b D0, [A5 - 0x1852]
000003EC 660A bne +0xC /* 000003F8 */
000003EE 4EAD 12BA jsr [A5 + 0x12BA /* export_595 */]
000003F2 1B7C 0001 E7AE move.b [A5 - 0x1852], 0x1
label000003F8:
000003F8 4E5E unlink A6
000003FA 4E75 rts
000003FC 0973 6F75 bchg <<invalid full ext with IS == 1 and I/IS == 5>>, D4
00000400 6E64 bgt +0x66 /* 00000466 */
00000402 206F 6666 movea.l A0, [A7 + 0x6666]
00000406 0873 6F75 6E64 bchg.b [A3 + D6 * 8 + 0x64], 0x75 /* 'u' */
0000040C 206F 6E00 movea.l A0, [A7 + 0x6E00]
00000410 0A63 6865 xori.w -[A3], 0x6865 /* 'he' */
00000414 636B bls +0x6D /* 00000481 */
00000416 506F 696E addq.w [A7 + 0x696E], 8
0000041A 7400 moveq.l D2, 0x00
0000041C 1370 7572 6551 7569 636B 4472 move.b [A1 + 0x4472], [[A0 + 0x65517569] + 0x636B]
00000428 6177 bsr +0x79 /* 000004A1 */
0000042A 2066 movea.l A0, -[A6]
0000042C 616C bsr +0x6E /* 0000049A */
0000042E 7365 moveq.l D1, 0x65
00000430 1270 7572 6551 7569 636B movea.b A1, [[A0 + 0x65517569] + 0x636B]
0000043A 4472 6177 neg.w <<invalid full ext with IS == 1 and I/IS == 7>>
0000043E 2074 7275 movea.l A0, [A4 + D7.w * 2 + 0x75]
00000442 6500 066D bcs +0x66F /* 00000AB1 */
00000446 6178 bsr +0x7A /* 000004C0 */
00000448 6D65 blt +0x67 /* 000004AF */
0000044A 6D00 0868 blt +0x86A /* 00000CB4 */
0000044E 696E bvs +0x70 /* 000004BE */
00000450 7442 moveq.l D2, 0x42
00000452 6974 bvs +0x76 /* 000004C8 */
00000454 7300 moveq.l D1, 0x00